<?php
/**
 * Created by PhpStorm.
 * User: yangos
 * Date: 18-6-17
 * Time: 下午7:46
 */

namespace vola\mirror;

use vola\Mirror;

/**
 * Class Hook
 * @package vola\mirror
 * @method void action(string $name, mixed $function, int $level = -1) static 添加action钩子
 * @method void filter(string $name, mixed $function, int $level = -1) static 添加filter钩子
 * @method void do_action(string $name, ...$argument ) static 执行action钩子
 * @method mixed|string do_filter(string $name, ...$argument ) static 执行filter钩子
 */
class Hook extends Mirror
{
    public static $class_name = 'hook';
}